github.com/andybalholm/brotli/matchfinder.ZFast.current (field)
14 uses
github.com/andybalholm/brotli/matchfinder (current package)
zfast.go#L28: current int32
zfast.go#L33: z.current = 0
zfast.go#L44: if int(z.current) >= int(math.MaxInt32)-2*z.MaxDistance-len(z.history) {
zfast.go#L45: minOffset := z.current + int32(len(z.history)) - int32(z.MaxDistance)
zfast.go#L51: v = v - z.current + int32(z.MaxDistance)
zfast.go#L55: z.current = int32(z.MaxDistance)
zfast.go#L67: z.current += int32(offset)
zfast.go#L102: z.table[nextHash] = tableEntry{offset: s + z.current, val: uint32(cv)}
zfast.go#L103: z.table[nextHash2] = tableEntry{offset: s + z.current + 1, val: uint32(cv >> 8)}
zfast.go#L127: coffset0 := s - (candidate.offset - z.current)
zfast.go#L128: coffset1 := s - (candidate2.offset - z.current) + 1
zfast.go#L130: t = candidate.offset - z.current
zfast.go#L137: t = candidate2.offset - z.current
zfast.go#L180: z.table[nextHash] = tableEntry{offset: s + z.current, val: uint32(cv)}
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |